﻿using System;
using NHibernate;

namespace NMA.Infrastructure.UnitOfWork
{
    /// <summary>
    /// http://moleseyhill.com/blog/2009/12/02/fluent-nhibernate-unit-of-work-pattern/
    /// </summary>
    public interface IUnitOfWork : IDisposable
    {
        ISession Session { get; }
        //void Rollback();
        void Commit();
    }
}